<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: zzz
  Date: 2020/2/11
  Time: 14:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8" />
    <title>个人信息</title>
    <link rel="stylesheet" type="text/css" href="${APP_PATH}/portal/css/public.css"/>
    <link rel="stylesheet" type="text/css" href="${APP_PATH}/portal/css/myorder.css" />
</head>
<body>
<!------------------------------head------------------------------>
<jsp:include page="/WEB-INF/jsps/Portal/common/top.jsp"/>
<!------------------------------idea------------------------------>
<div class="address mt">
    <div class="wrapper clearfix">
        <a href="${APP_PATH}/toPortal" class="fl">首页</a>
        <span>/</span>
        <a href="${APP_PATH}/toMyOrder" class="on">我的订单</a>
        <span>/</span>
        <a href="${APP_PATH}/toOrderDetail?oid=${requestScope.orderInfo.order.oid}" class="on">订单详情</a>
    </div>
</div>

<!------------------------------Bott------------------------------>
<div class="Bott">
    <div class="wrapper clearfix">
        <jsp:include page="/WEB-INF/jsps/Portal/common/nav.jsp"/>
        <div class="you fl">
            <div class="my clearfix">
                <h2>订单详情<a href="#">请谨防钓鱼链接或诈骗电话，了解更多&gt;</a></h2>
                <h3>订单号：<span>${requestScope.orderInfo.order.onum}</span></h3>
            </div>
            <div class="orderList">
                <div class="orderList1">
                    <h3>${requestScope.orderInfo.order.otype == 1?"待收货":"待发货"}</h3>
                    <c:forEach items="${requestScope.orderInfo.pre_orderInfoList}" var="pre_orderInfo">
                        <div style="margin-bottom: 10px;" class="clearfix">
                            <a href="javascript:;" class="fl"><img style="width: 50px;" src="${APP_PATH}/${pre_orderInfo.furnitureKinds.fkface}"/></a>
                            <p class="fl"><a href="javascript:;">${pre_orderInfo.furniture.fname} ${pre_orderInfo.furnitureKinds.fkname}</a><a href="#">¥${pre_orderInfo.furnitureKinds.fkprice}×${pre_orderInfo.pre_order.count}</a></p>
                        </div>
                    </c:forEach>
                </div>
                <div class="orderList1">
                    <h3>收货信息</h3>
                    <p>姓 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：<span>${requestScope.orderInfo.addressInfo.address.consignee}</span></p>
                    <p>联系电话：<span>${requestScope.orderInfo.addressInfo.address.cphone}</span></p>
                    <p>收货地址：<span>${requestScope.orderInfo.addressInfo.province.pname} ${requestScope.orderInfo.addressInfo.city.cname} ${requestScope.orderInfo.addressInfo.district.dname} ${requestScope.orderInfo.addressInfo.area.arname} ${requestScope.orderInfo.addressInfo.address.address}</span></p>
                </div>
                <div class="orderList1">
                    <h3>支付方式及送货时间</h3>
                    <p>支付方式：<span>${requestScope.orderInfo.order.paytype == 1?"在线支付":"货到付款"}</span></p>
                    <p>送货时间：<span>不限送货时间</span></p>
                </div>
                <div class="orderList1 hei">
                    <h3><strong>商品总价：</strong><span>¥<fmt:formatNumber type="number" value="${requestScope.orderInfo.order.oprice}" pattern="#.00" /></span></h3>
                    <p><strong>运费：</strong><span>¥0</span></p>
                    <p><strong>订单金额：</strong><span>¥<fmt:formatNumber type="number" value="${requestScope.orderInfo.order.oprice}" pattern="#.00" /></span></p>
                    <p><strong>实付金额：</strong><span>¥<c:if test="${requestScope.orderInfo.order.paytype == 1}"><fmt:formatNumber type="number" value="${requestScope.orderInfo.order.oprice}" pattern="#.00" /></c:if><c:if test="${requestScope.orderInfo.order.paytype == 0}">货到付款</c:if></span></p>
                </div>

            </div>


        </div>
    </div>
</div>
<

<!--返回顶部-->
<jsp:include page="/WEB-INF/jsps/Portal/common/gotop.jsp"/>
<!--footer-->
<jsp:include page="/WEB-INF/jsps/Portal/common/bottom.jsp"/>
<script src="${APP_PATH}/portal/js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="${APP_PATH}/portal/js/public.js" type="text/javascript" charset="utf-8"></script>
<script src="${APP_PATH}/portal/js/user.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>

